﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonLib {
    public struct Material {
        public Vector3 color;
        public double diffuse, reflection, specular;
        public Material(Vector3 _color, double _diffuse, double _reflection) {
            color = _color;
            diffuse = _diffuse;
            reflection = _reflection;
            specular = 1.0 - _diffuse;
        }
    }
}
